add second solution, remove debug code