Finalizing results structure