controller set up