new() receives a media type