search function

still on develop