Main system