working upspeed/downspeed, closes #32