added alias for old method name record_event