remove magic number '8'. use instead const variable of sizeof( stock_name_)