removed trailing newlines from elephant()