add testing switch