Added transition functions for STAR simulation.