made main actually do something