solved hw5
cleanup