Added extraction to memory