adds functionality to get candles