Improved buying and added price-getting and calculation