updated ground constructor