cleanup, prob 5 in golang