added the new query in prev check in for issue #36