added canvas as dependency