trying to make custom transitions work properly #2