link to MEM
many small fixes