* added debug message output for lookup logic