chapter1 sum implement now