added support for sending images