printInfo and emergency message are added

Emergency situation will be added some more.