[add] written (beware: potentially dangerous API