made some model changes