little edit on variable assignment