Changed newString to string, added stockListType related code