added otherwise method