adding recipes to emulate the switch