implemented recordAction #29