first steps of the minimal controler