Ted: Added ifefine for testing offsets.
Adjusted offset.