first and second controller set up