Changed "nearest" to be a class method