add initial code to level editor