Extract the common code, add #actors