Utility function to remove a lot of dup code in service method, Zane to complete refactor