Refactor signe
Refactor medium