This isn't the way to do this. Use a single object and either use a different frame for each, if they display a number, or give it an instance variable with the number you care about. The frame number or instance variable then tells you which is which.