check if main before printing hello world