??? Why would it be NaN in the first place? Please can you explain what this should be doing? I cannot determine the usefulness from this source