make methods that don't depend on instance state static

Easier to test. Easier to reason about.