forked and added jrecorder