removed main from the lig