sample switch project