exercise6 update