Add main to base