CRUD functions example