setup for controllers