- added load from memory function
- tested to be working