ifmain do not work for me, change use main instead