added a definition type for stock