okay it's not allowed to return undefined only null because of the readGeometryFromNode signature, but I can return null instead