Create mainline