added mH class, definitions, & if statements