How to setup a target for almost any thesis function: crucial regulations and criteria