working with the graphics