added filter that only if typed letters are more than 3 will the filtering process begin