added support for empty arguments