feat: added canvas as to userFunc