almost done with upload of recording functionality