new method getAllCollections added