changed display to canvas