updated exertion function