changed mediaType to category