memory management review; closes #30