usepackage setspace
do not use package setspace
added graphic function with width parameter
added graphic function with width parameter