changing the model from media types to media ranges