added spotprices funtion