adding all components and output