my first sum attempt