Buttercream can be used for filling , coating or decorating cakes or pastries. The simple mix is butter and icing sugar , but there are variations.