public function getCurrentRegistration($write = true) {
		$registration = null;
		// local reference
		if($this->registration && !$this->registration->isSubmitted()) {
			$registration = $this->registration;
		}
		if(!$registration){
			// get from session
			$registration = $this->regSession->get();
		}
		
		if (!$registration) {
			// create a new
			if($write){
				// persist immediately
				$registration = $this->regSession->start();
			} else {
				// create new in memory
				$registration = EventRegistration::create();
				$registration->EventID = $this->event->ID;	
			}
		}
		// store locally
		$this->registration = $registration;
		return $this->registration;
	}