added new object to handle count/offset