tweaked comparison per PR feedback
fix indent