idioms, and debugging