Added recording API