idioms
resolving Python errors