Deleted code unneeded to reset