minor update, change from var to let