Copied a class to represent stocks