Coding Challenge

My changes to the original code.