widened search to big data as well. changed database abd save format