whirlpool won't agitate spin or fill

I have whirlpool h2low model wtw4950xwo will not spin agitate or fill just changed the lid thingy that was broke. Checked power will fill if I connect power
to it directly is it the mother board or an act switch please help