made threshold identify whther only positive data
working towards pipeline