worked on some tests and planning on changing the search function