Making main endless