You want to use `if block` here, not `block_given?`.