Functions and graphs