only loading main controller once