implement more function for CRUD & correspond Junit tests