final2 optimized