the declaration of 'main' function has been fixed