api.offset added for viewing purpose