Begin of graphical part