changes to sliding window for drugs