turn and team32 algo