changed variable declaration