Add closestNote check and integer.