First functions for the graphical lib