basic controller layout