presun casti kodu do trid pro warping metody. Jeste vice uhlazeny kod