offset support added