wrapped stock initialization in prposed generatestocks method