make program transition happen at same time as action