Added recording stuff