changed variable location