figuring out if the model should be returned for null or not