updated sample UI