solve runningtime