Pass in the correct number of offsets.
Fix indentation.