incorporate string comparison