Added a small function and some initial values for mem