commented out an $apply