return media model instead of map