Added state transfer. Not sure if semantics exactly correct