safe case statements