wrote comments in controllers, fixed views i think