Mainly developing search function