code for candle project