A sample actor implementation