added prototype switch trigger