Fixed the sum operation