copied code from petter and debuged a bit, need to imlpement get_news_group