let checkers.py more independent