started preparincode for multiple media types