Got rid of extraneous main functions