implemented media type filter