adding get latest to ring buffer