added check for drift