added functions to display subcats
merged changes