Passing args into all() and generate_data()