changed offsets on line 92