use method syntax for blocks where possible.