adds pulldata and search functions