cleaned up correcthr and createmodel class