lowercase $type