Added recorder for some debugging.