removed mem stuff from example