added running queries