spoints(3) changed from integer to double