added clip count and category selection to spa