peripheral switching