replaced secret key with secret key base