Make getAvailableObjects return the ArrayList