UDF to refactor