renaming some methods for queue and query