convert cell module to use state mutators