created threads in model for cities