made stuff public in category.java