renamed var in main