sum component basic working