add support for sha1