console output trimmed