rename Main object