first controller set up