use race methods and elif