that block of code was indented due to the do ..end :)