Add assignment writer