flex framework for measuring reaction times