ex04 test w/ modification