add recording support