controller basic setup