add new function to implement foo
Merge pull request #1 from Compal/master

implement feature foo