loading ready for main controller