better secret key solution!