Added offset and updated docs