Corrected function visibility