added otherwise clause to is statements