Finished 06-functional.js