Got rid of redundant code

That is what happens when you copy paste all over the place.