momoize base word, indent properly