clean up duplicate code.

I doubled a few of the elements. cleaned those.