struct scope stuff