Ugly code? Ew.

Removed ugly code.