changed variable decleration style