added media object support