make the recognition threshold changeable via the UI