assignment #3 extra task #6