tidied up the Collection.get method