create an if else to answer the persons function.