22 added master and input type at 1775 in main, before game