modification update to account for offset