Updated conditions to echo person's table