using in memory data structures