editor and misc. stuff