complete the telphone function.