delete extraneous lines of code