Added calculator for device ID