Whittled down decryption routine a bit more