support recording a program