Added solution for stocks