Whole implementation in memory