edits to controller