added offset setter