JWF:  Offset code added.