added func to get serial number