add phase, fix checkers bug