add support for args array