use getPropertyFromUDFContext() instead?