split client and actor