optimized the notice