added inline formatting up to line 247.