started main page category functions