getting speeds from params