Fixed practice-setup function.