added secret key to sig