To use in a layered cake, I recommend using a stabilizer like gelatin or non-fat milk powder so it holds up to the layers.