added ltrim to result to remove the first additional 'and' if any.