refactoring Customer actor