killing switches. now using offsets