rgen work