rename main and print