This is my Switch Controller Code