document register machine