new code changes for browse_categories