able to get levels for each nominoal attribute