added controoler main