use methods instead of mutable state
use default method instead of mutable state