 curve routine returns null curve present 
