Fix conditional statement.
Rename partial to something more meaningful.
Simplify, man! (http://imgur.com/gF1ow)