made graph show at the end
commented out the last few lines again