basic editing funcs in preview
not important