adds convenience functions for recording data;