changed to reduce load we only use MediaType constant