controllers worked (first implemetation)