tried to do var canvas but kept getting errors