add handle to newrepl