convenient data recording functions

Visitors: 180,114