Cleaned it up a little, Im not sure how to make it any faster...
:(