Create dummyMain() and calculate entry point