sets up first controller