libraries added.  speed object added
fixed to compile