it still wont work so i guess ill have to use the maincnt variable