model checks added