removed extraneous var