using dt to have a correct speed on all hardware platforms