+ Added memory functions

