Implement select pheripheral logic