next, previous feature works, need to clean it up to allow a second querty without restarting box