made offset a property, doctest fixes