enable record function