factor out Closer and Actor