finalizing select