Sorry, I thought you were adding code to the KCL source. If you use clines then that interface takes care of the grubbies for you. Paul H