Added some CRUD functions