SUM of 3 implementation