add new method getoffset