Changed the number output to canvas