Made more corrections to wireframe code