added new apply controller