First working version of V and E