terminate mock implement in getLatestUST
a bit documentation and refactoring