updated variable reassignment