Getting rid of unused line in main