Working out a ui on the device.