rewrite actor inheritance