create transition map