add a basic controller