Instead of curly braces use do...end for multi line blocks