updated the build candles method