renamed stockFactory to stocks