added basic search functionality, though i dont like it yet :/