Do in memory if we can