created simple category adapter