Add range1, dict_inverse and debug