Make getCollection method to return just an array