add withLast function for switcher
Add the Last Switch