get insert and searching working