put duration at the correct place