Got rid of extra main