pass trimmed to constructor