solve problem #11