Fucked up :(
Fucked up cmd_mem