Corrected Typo, cleaned Main funtion