added more to mem stuff