call main fn instead