Add helper source code from java community