logic in sentences