updated to include random test arg