Removed the unecessary brackets within sum([])