cleaned controllers, add index