Prepare the graphics (optional) – Function