devcode backup (untested funcs)