Fr search

finished implementing old search
indentation :-P