canvas demo modified and added