added functions to listObjectsById