took out logs from the code.