Added stateful assignment