get current phase type