very simple query atomization, refresh button w/ ajax