added model check attribute