one lock and virtualmem added
tools aready write but not compelte