tweaked timing to improve responsiveness