Added correct format for getAll