Yeah I can refactor it but it's going to be awhile before I can get to that.. I'm using this code in a project right now that requires other development.