Implemented getAll feature