removed overwriting old main