check in linear model