deleted extraneous comments, made processline shorter and more readable