sum, len added