made render useful
fixed chip not properly generating names when wrapped in a function