reduced complexity in labs_controller#index