FYI, len(args) == 0 when args is nil (so the args != nil check is redundant)