- added some more helper methods to retrieve values from queries