refactored code I think everything is good. Might need to go back and check ace count