created proper controllers