add basic transition checking