testing canvas code