minor changes to median speed