fixed mistake in ex3