add secret key stuff