took out EOF from program