add spaces between block braces
single space before first arg
use fail instead of raise
replace square with round bracket after %w