added canvas stuff