Made balance changes and fixed bugs