Adding goig down and up features
removing threshold detection now we have going up and down feature for dataMapper