added all required functions to WPQueries interface