will work on adding more tests to the advance logic when the logic has been better fleshed out.