made scaffolding have variable structure by removing it from base grammar