made a comment more universal, moved variable declaration to code section it's used.