Frosting is the shortening, icing sugar, cacao (I lost the recipe ) you reserve half for the frosting then finish the cake with the rest of the ingredients
It sounds like you’re working on a chocolate frosting. For a basic recipe, you can use 1 cup shortening, 4 cups icing sugar, and 1/2 cup cocoa powder. Mix them together and add a bit of milk or cream until you get the right consistency. Don’t forget to save some frosting for decoration and use the rest to frost your cake.