put short/long names into array