misc changes
gam only function no delta