elapsed time math was backwards