improved primeui samples