skeleton code for level editor