added check for specified transition, using transit