solution for ssl problem #8