Add make serial_number function