set up controller layout