solution for ssl problem #7