added multiple signatures support