handeling several udfs