I’ve never taken a good look at whether DC function names must be UPPER case, or will they be recognized if you use lower case (or MixEd case). But you might want to look into it. But on general principles, I wouldn’t name your custom attribute (nearest) the same as ANY case variation of ANY DC function name (NEAREST)