added support for signatures