Created Constructor
Updated sum