Fix for issue #3

implements offset setter methods.