#95 added function prototype for check data and filtered_stock lists