log.x only displays ~3000 chars. there was no error in the previous code