Changed record to use double instead of big decimal.