add type for media