method getAll added