Added user input function to search
fixed merge conflict
testing with scope