closed #3, created switch module