called blur and focus method to achieve the sum