added equals/same and debug