added foundation to analyze stocks