adding else clause