get basic prefix completion working