deleted extraneous code at the top