getting some basic editor code in place