add wireframe and prelim code