ordered pairs function or not