use block shorthand syntax, make rubocop happy