convenient data recording functions

Visitors: 169,793