before CRUD