Add missing parentheses.
Remove needless arguments for puts.
Add missing parentheses.