renamed persist to controller