Díky, udělal jsem to podle rady, možná se to mírně zrychlilo.Měl bych tyto funkce vyjmout ze třídy a nechat zvlášť?