added sum(), in(), and reverse()