added predicate autocompletion