I am a little confused about the nature of an isothermal process. If we compress a gas and it is an isothermal process, we know the temperature has to increase, therefore q is increasing. For this process to be isothermal, the gas then must have done work on the compression, but this work is negative which allows our delta E to be 0?