melting method for cakes