added data exploration function