added changes to search, made search not dynamic