inital editor code