add new case check logic