moved extra prototype methods out of setup()