isBalanced10 now works. I tested a lot of it and I am sure it works but I still neet to test more to be sure and I also need to change the isBalanced10 to isBalanced and get rid of the other isBalanced