implement simple completion
add test file