updated offset method name