implemented globalusage query