working on controller/crud