added basic controller