added tree group (untested), refactored to allow trees (some needs to be undone!)