modified switch module