model class finished but still not fix. v1.4
changing the first one, class model is nearly complete