optimize responsiveness