final details and logging