added some documentation and removed Variables element of Extract