rename main code