shared utilities for my soa example