add support for multiple media entries