part 1 completed (correct on the first run)