in reply to main() sub main{}

There is some explanation in this post. But it (and I) suggest using "Main" instead of "main".