add support for main: func(String[])