initial stages to adding search function
more adding to search function