add exmplicit memory
unnecessary memory is freed automatically
Merge branch 'feature/expmem' into develop