terminate at {} instead of nil