gene search function working