Add ability to compare in memory