Implementare in main