deleted extraneous code