added mp4 functionality