added some lines for changin graphics properties