changed variable name. over looked that was using same for two different things! whoops!