initial implementation of service wrapper code