updated drift delta detection removing old function.