main make working