Source code for my diplom