add controller logic to edit needs - still incomplete