added offset scope option