added sentence capability, all test passing