replaced memAddress w/ addr