moved setup call to find function