filtering hints as you type
tidy up