gave performance test its own function