added back secret key