improve function visibility