added old summary parser code