Prepared for finished returning array of doubles