change logic for checking new model