Introduce "speed" attribute

fixes #20 
This line seems to be a leftover from your debugging; could you please remove it from the pull request?