removed testing code from setup function