changed log to triplets