distilled problem code