added a bit for search. and changed borrow a bit.

didnt do asserts properly
added to search.... introduced scroll bar
small change.....