refactored quotes into the controller and put old pics back in index