fix indent, add missing period, extract main call to a private method