mutable and stateless examples