Converting the Stock Program