Remove whitespace from ends of lines
Add partial application