add instance methods for CRUD operations