Added sample of service with mutable state