Functions and Critical Numbers