updated j05/ex01 even though it gives the same result