mains merged to one