everything done but the main controller