added debug statment
added data processing, trigger range calc with comparison of data json and dataset json