updated controllers syntax