Code works, is ugly, does its job