refactoring transitions_map

1 job for 62-unit-test-coverage-and-code-cleanup in 6 minutes and 55 seconds (queued for 20 seconds)