Refactor actor sequence