handling critical cases