timer delay of 20ms seems to be better