Completed getValidPeripherals()