added canvas but didn't work