use an :each argument for the before hook