fixed small textfield bug, added functionality to search, stores in string