added reflux code