only create the media object once