initial commit of code from VirtualScope