about extent API and the task I'm working in progress