storing object state