setup graphics