remade main