hooked up media with media_types