add two API methods, fixed poginated collection