basic editor setup