added support for remote requests