seperate concerns: moved speed test into own lib