minor modification to watch tree buiding