fit secret key and calculating message on screen, correctly