implement ui for phone