added total pace calculation