add check to model