new implementation of isolate