changed query_posts() to WP_Query()