Added variables for main