added rowsum