missed an NPE when no arguments provided to the Main class