creating first controller