Introduce "speed" attribute

fixes #20 
While you're at it, could you please also add the newline? Thanks!