creation of transition curve