what does an editor do?