added sum to composed