fixed getClosestOf being a class method