updated checks model and testing script