resize() metoda dodana;