worked on saving rss to data structures