Change to double[]
Right database