added what is required in the preamble to make graphics work...