Consolidated functions