removed offsets that were not needed