added to Stock class