Defining the problem and creating the target