Added helperclass for common functions