Poorly Written Functions.

Yup...