minor changes to model. found a tutorial that will help me out significantly and is actually sm2