added "assign" in operations where needed