Functional.

Take 2. Just as much bad practice, don't worry!
Merge pull request #1 from Jikoo/master

Functional