Upper main sequence stars with anomalous abundances