added example of queryStatus