switched stuff to scene from main.