add function to get latest, complete entry