added to edit controller