tweaking code puzzles