Finalize sample