adds some editor subs