changed tipologia intero layout and logic, now much better