added signing from document