Removed unused variable in the main function