attempts to adjust render of function