fixing ex5a