Call the  right function in example 2
Remove trailing whitespace