submitting solution for w6 challenge #5