Rearanjare in functia main