working with transition