use mutable data structures