helper function update
Merge pull request #3 from mezeet/helper

helper function update