add completion function
Merge pull request #4 from mr0re1/master

add completion function