added new speed calc