updated model to match null values