adding mem methods