switched to using NFlag instead of length of Args()