Removed extraneous code