made comtroller file put controller into it